Adwaita: remove wildcard for image effect
authorLapo Calamandrei <calamandrei@gmail.com>
Wed, 18 Jun 2014 17:29:33 +0000 (19:29 +0200)
committerLapo Calamandrei <calamandrei@gmail.com>
Wed, 18 Jun 2014 17:29:33 +0000 (19:29 +0200)
-gtk-image-effect: hilight now is set for .button:hover

gtk/resources/theme/Adwaita/_common.scss
gtk/resources/theme/Adwaita/gtk-contained-dark.css
gtk/resources/theme/Adwaita/gtk-contained.css

index 3fc226bb5247fa783b48fe8c5977fd75c6a142ef..9c0d19e354a8b9493fcbf041fc8f96b0a09f0a11 100644 (file)
     -gtk-image-effect: dim;
 }
 
-*:hover {
-    -gtk-image-effect: highlight;
-}
-
 .gtkstyle-fallback {
   background-color: $bg_color;
   color: $fg_color;
   @include button(normal);
   &:hover {
     @include button(hover);
+    -gtk-image-effect: hilight;
   }
   &:active {
     @include button(active);
index 29ff11503267c2c531ffbc578271b418072b067f..2bd14bd1fcfed3da7c8ca8ce81be2f9e54ad3202 100644 (file)
@@ -82,9 +82,6 @@
 *:insensitive {
   -gtk-image-effect: dim; }
 
-*:hover {
-  -gtk-image-effect: highlight; }
-
 .gtkstyle-fallback {
   background-color: #393f3f;
   color: #eeeeec; }
     background-image: linear-gradient(to bottom, #5b6464, #434a4a 40%, #393f3f);
     text-shadow: 0 -1px rgba(0, 0, 0, 0.77976);
     icon-shadow: 0 -1px rgba(0, 0, 0, 0.77976);
-    box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 1px rgba(238, 238, 236, 0.1); }
+    box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 1px rgba(238, 238, 236, 0.1);
+    -gtk-image-effect: hilight; }
   .button:active {
     border-width: 1px;
     border-style: solid;
index 8a73f3a2be24ba0a3bde5f76b976d2cb6ee415e7..f7f0d95efe6e82edc66b34d24e629a9d7b2b79f5 100644 (file)
@@ -82,9 +82,6 @@
 *:insensitive {
   -gtk-image-effect: dim; }
 
-*:hover {
-  -gtk-image-effect: highlight; }
-
 .gtkstyle-fallback {
   background-color: #ededed;
   color: #2e3436; }
     background-image: linear-gradient(to bottom, white, #f7f7f7 40%, #ededed);
     text-shadow: 0 1px rgba(255, 255, 255, 0.76923);
     icon-shadow: 0 1px rgba(255, 255, 255, 0.76923);
-    box-shadow: inset 0 1px white, 0 1px white; }
+    box-shadow: inset 0 1px white, 0 1px white;
+    -gtk-image-effect: hilight; }
   .button:active {
     border-width: 1px;
     border-style: solid;